from django.db import models
from mgproject.utils.basemodels import BaseModel
# Create your models here.
class QQAuthUser(BaseModel):
    user =models.ForeignKey('userapp.Users',on_delete=models.CASCADE)
    openid=models.CharField(max_length=64,verbose_name='openid',db_index=True)
    class Meta:
        db_table='t_qq_user'
        verbose_name='QQ登录用户数据'
        verbose_name_plural =verbose_name